package com.service.gmall.product.bloom.impl;

import com.service.gmall.product.bloom.BloomDataQueryService;
import com.service.gmall.product.service.SkuInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author alpha
 * @className: BloomDataQueryServiceImpl
 * @Description
 */
@Service
public class SkuBloomDataQueryServiceImpl implements BloomDataQueryService {
    @Autowired
    SkuInfoService skuInfoService;

    /**
     * 查询所有的SkuId
     * @return
     */
    @Override
    public List queryData() {
        List<Long> allSkuId = skuInfoService.getAllSkuId();
        return allSkuId;
    }
}
